{include file="public/_meta" /}
<style>
    input{
        width:30px;
        border:none;
    }

</style>

<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>订单管理 <span class="c-gray en">&gt;</span> 订单列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
    <div class="text-c">

    </div>
    <div class="cl pd-5 bg-1 bk-gray mt-20">
        <span class="r">共有数据：<strong> {$list->total()}</strong> 条</span> </div>
    <div class="mt-20">
        <table class="table table-border  table-hover table-bg table-sort">
            <thead>
            <tr class="text-c">
                <th>操作人名字</th>
                <th>操作⼈账号</th>
                <th>操作⼈身份</th>

                <th>用户ID</th>
                <th>用户手机号</th>
                <th>用户昵称</th>
                <th>变更前身份</th>
                <th>变更后身份</th>

                <th>操作时间</th>
                <th>操作内容</th>
            </tr>
            </thead>
            <tbody>
            {volist name='list' id="vo"}
            <tr class="text-c">
                <td>{$vo.admin_user_name}</td>
                <td>{$vo.admin_user_phone}</td>
                <td>
                    {if ( $vo.admin_user_identity == 1) } 管理员
                    {elseif $vo.admin_user_identity == 2 /}客服
                    {elseif $vo.admin_user_identity == 3 /}供应商
                    {else /}
                    {/if}
                </td>
                <td>{$vo.edit_user_id}</td>
                <td>{$vo.us_tel}</td>
                <td>{$vo.us_nickname}</td>
                <td>
                    {if ( $vo.edit_user_y_type == 1) } 会员
                    {elseif $vo.edit_user_y_type == 2 /}店主
                    {elseif $vo.edit_user_y_type == 3 /}运营中心
                    {else /}
                    {/if}
                </td>
                <td>
                    {if ( $vo.edit_user_type == 1) } 会员
                    {elseif $vo.edit_user_type == 2 /}店主
                    {elseif $vo.edit_user_type == 3 /}运营中心
                    {else /}
                    {/if}
                </td>
                <td>{$vo.edit_time}</td>
                <td>{$vo.content}</td>
            </tr>
            {/volist}
            </tbody>
        </table>
        <div class="pages" style="margin:20px;float: right; ">{$list|raw}</div>
    </div>
</div>
    {include file="public/_footer" /}
    <!--请在下方写此页面业务相关的脚本-->
    <script type="text/javascript" src="/static/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>

    <script type="text/javascript">
        $('select[name="or_status"]').val({$Request.get.or_status});
        $('select[name="or_num"]').val({$Request.get.or_num});
        $('select[name="st_id"]').val({$Request.get.st_id});
        function create(id,url,key){
            var url = "{:url('"+url+"')}?id="+id;
            creatIframe(url,key);
        }


        function selecttime(flag){
            if(flag==1){
                var endTime = $("#countTimeend").val();
                if(endTime != ""){
                    WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',maxDate:endTime})}else{
                    WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})}
            }else{
                var startTime = $("#countTimestart").val();
                if(startTime != ""){
                    WdatePicker({dateFmt:'yyyy-MM-dd HH:mm',minDate:startTime})}else{
                    WdatePicker({dateFmt:'yyyy-MM-dd HH:mm'})}
            }
        }
    </script>
</body>
